@import './variables.scss';
* {
  box-sizing: border-box;
  outline: none;
  margin: 0;
  padding: 0;
}
.w {
  width: 1200px;
  margin: 0 auto;
}
html {
  font-size: 13px;
}
body {
  background: url('../img/banner.png') no-repeat;
  user-select: none;


  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2em;
  background-color: #EFEFEF;
}
a {
  color: #777777 ;
}
// color
@each $key,$val in $colors {
  .text-#{$key} {
    color: $val;
  }
  .bg-#{$key} {
  background-color: $val;
  }
}
// text-align
@each $var in (left, center, right) {
  .text-#{$var} {
    text-align: $var;
  }
}
// font-size
@each $key,$val in $font-sizes {
  .fs-#{$key} {
    font-size: $val * $font-size-base;
  }
}
// flex
.d-flex {
  display: flex;
}
.fl-warp  {
  flex-wrap: wrap;
}
.fl-row {
  flex-direction: row;
}
.fl-col {
  flex-direction: column;
}
@each $key,$val in $fl-jc {
  .jc-#{$key} {
    justify-content: $val;
  }
}
@each $key,$val in $fl-ai {
  .ai-#{$key} {
    align-items: $val;
  }
}
.flex-1 {
  flex: 1;
}
// margin padding
@each $typeKey,$typeVal in $spacing-types {
  // m-1
  @each $sizeKey,$sizeVal in $spacing-sizes {
    .#{$typeKey}-#{$sizeKey} {
      #{$typeVal}: $sizeVal * $spacing-size-base
    }
  };
//  mx-1
  @each $sizeKey,$sizeVal in $spacing-sizes {
    .#{$typeKey}x-#{$sizeKey} {
      #{$typeVal}-left: $sizeVal * $spacing-size-base;
      #{$typeVal}-right: $sizeVal * $spacing-size-base
    }
  };

  //  my-1
  @each $sizeKey,$sizeVal in $spacing-sizes {
    .#{$typeKey}y-#{$sizeKey} {
      #{$typeVal}-top: $sizeVal * $spacing-size-base;
      #{$typeVal}-bottom: $sizeVal * $spacing-size-base
    }
  };
//  mt-1
  @each $dirKey,$dirVal in $spacing-directions {
    @each $sizeKey,$sizeVal in $spacing-sizes {
      .#{$typeKey}#{$dirKey}-#{$sizeKey} {
        #{$typeVal}-#{$dirVal}: $sizeVal * $spacing-size-base
      }
    }
  }
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}